#define _CRT_SECURE_NO_WARNINGS 1

#include"Queue.h"

int main()
{
	Queue q;
	QueueInit(&q);
	int i;
	for (i = 0; i < 10; i++)
	{
		QueuePush(&q, i);
	}

	int count = QueueSize(&q);
	printf("%d\n", count);

	while(!QueueEmpty(&q))
	{
		int temp = QueueFront(&q);
		printf("%d ", temp);
		QueuePop(&q);
	}

	QueueDestroy(&q);

	return 0;
}

